#include"thread.hpp"
#include<unistd.h>
int main()
{
    ThreadMoudule::thread threads([](){
        int n=5;
        while(n--)
        {
            std::cout<<"I am new Thread"<<std::endl;
            sleep(1);
        }
    });
    threads.Start();
    threads.Join();
    return 0;
}